[Manager Summary]
Obtains additional print settings previously saved by your application.
OSStatus PMGetPrintSettingsExtendedData(PMPrintSettings printSettings, OSType dataID, UInt32 *size, void *theData)
PARAMETERS
printSettings
- A PMPrintSettings object. Specify the object from which you wish to retrieve data.
dataID
- A four-character code. Specify your data with this code.
size
- A pointer to a variable describing the size of the buffer you've allocated for receiving the data. On return, this variable contains the number of bytes read or the size of the extended data. If you don't need this information, pass the constant kPMDontWantSize in this parameter.
theData
- A pointer to a buffer. On return, this buffer contains the extended data. If you don't need the actual data, you can pass the constant kPMDontWantData in this parameter.
- function result
- A result code. See Result Codes.
DISCUSSION
Use the function PMSetPrintSettingsExtendedData to store the data you retrieve with the PMGetPrintSettingsExtendedData function.
Last modified: 5/7/99. Status: Draft Copyright 1999 Apple Computer, Inc. All rights reserved.